import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from "node:url";

const pathResolve = (dir) => {
  return fileURLToPath(new URL(dir, import.meta.url));
};


export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      "/@": pathResolve("./src")
    }
  },
  base: './',
})
